package com.zeng.vueserve.coreapi.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zeng.vueserve.coreapi.vo.RoleAuthorityVo;

import java.util.List;

public interface RoleAuthorityService {

    RoleAuthorityVo addOne(RoleAuthorityVo roleAuthorityVo);

    RoleAuthorityVo getOneByCode(String code);

    Integer update(RoleAuthorityVo roleAuthorityVo);

    Integer delete(String code);

    Integer batchDelete(List<String> codes);

    List<RoleAuthorityVo> findPage(Page page, RoleAuthorityVo roleAuthorityVo);

    Integer count(RoleAuthorityVo fileServerVo);

}
